const token_key = 'USER_TOKEN'
const userinfo_key = 'USERINFO'
export default {
	clear: () => {
		uni.clearStorageSync()
	},

	// 存储token
	SET_TOKEN: token => {
		uni.setStorageSync(token_key, token)
	},

	GET_TOKEN: _ => {
		return uni.getStorageSync(token_key)
	},

	REMOVE_TOKEN: _ => {
		uni.removeStorageSync(token_key)
	}
}